
// @ts-ignore
import {Modal} from "antd";
import React from "react";

// @ts-ignore
export default function WorkDeleteModal({open,onCancel,onDeleteOk,work}){
	return (
		<Modal title={"删除"} okText={"确定"} cancelText={"取消"} okButtonProps={{ autoFocus: true }} destroyOnClose={true}
					 open={open} onCancel={onCancel} onOk={() => onDeleteOk(work)}>是否删除？</Modal>
	);
}